import request from '@/utils/request.js'

export function login(data) {
    return request({
        url:'/login/cellphone',
        method:'post',
        data
    })
}

export function getUserInfo(){
    return request({
        url:'/user/account',
        params:{
            cookie:window.localStorage.getItem('Cookie')
        }
    })
}